GrapeCity.ActiveReports.v12 アセンブリ > GrapeCity.Enterprise.Data.DataEngine.Extensions 名前空間 > FunctionalExtensions.MatchBlock<T,TResult> クラス > When メソッド : When<TExpected>(TExpected,Func<TExpected,TResult>) メソッド |
'宣言 Public Overloads Function When(Of TExpected As T)( _ ByVal value As TExpected, _ ByVal func As Func(Of TExpected,TResult) _ ) As FunctionalExtensions.MatchBlock(Of T,TResult)
public FunctionalExtensions.MatchBlock<T,TResult> When<TExpected>( TExpected value, Func<TExpected,TResult> func ) where TExpected: T